package com.hbwxz.common.response;

public enum ResponseCode {
    SUCCESS(200,"Request Successfully"),
    BAD_REQUEST(400,"Request Successfully"),
    BAD_ESBULK_REQUEST(250,"Part bulk or whold bulk request are failed!"),
    NOT_FOUND(404,"Request Not Found"),
    UNAUTHORIZED(401,"Unauthorized");
    private final Integer code;
    private final String message;

    private ResponseCode(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
